package com.rxmvp.rxmvpdemo.contract.main;

import com.rxmvp.rxmvpdemo.activity.MainActivity;
import com.rxmvp.rxmvpdemo.global.GlobalComponent;
import com.rxmvp.rxmvpdemo.scop.PresenterScoped;


import dagger.Component;

/**
 * MainActivity的component，依赖于全局的GlobalComponent，负责管理与MainActivity相关的module
 *
 * 作者： huangRZ on 2017/1/21. 15:04
 * 邮箱：917647409@qq.com
 */
@PresenterScoped
@Component(dependencies = GlobalComponent.class, modules = MainModule.class)
public interface MainComponent {
    void inject(MainActivity activity);
}
